using System;
using System.Collections.Generic;

namespace Xoohoo.Repositories.SqlServerEF.Entities
{
	public class User
	{
	    public User()
		{
			this.UserModuleDatas = new List<UserModuleData>();
			this.Permissions = new List<Permission>();
			this.Roles = new List<Role>();
		}

		public System.Guid UserGroupID { get; set; }
		public int UserID { get; set; }
		public string Username { get; set; }
		public string DisplayName { get; set; }
        public string Email { get; set; }
        public string Password { get; set; }
        public int Status { get; set; }
		public System.DateTime CreationDate { get; set; }
		public virtual UserGroup UserGroup { get; set; }
		public virtual ICollection<UserModuleData> UserModuleDatas { get; set; }
		public virtual ICollection<Permission> Permissions { get; set; }
		public virtual ICollection<Role> Roles { get; set; }
	}
}

